import http from '@/server'

/** 分页查询 */
export async function getLogList(data: any) {
  return http.request({
    url: '/log/search',
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    },
    data
  })
}
/** 信息查询 */
export async function getLogInfo(data: any) {
  return http.request({
    url: '/log/info',
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    },
    data
  })
}
/** 删除 */
export async function delLog(data: any) {
  return http.request({
    url: '/log/delete',
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    },
    data
  })
}
